/**
 * Copyright 2023 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import '~/styles/variables';

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  z-index: -1;
}

.playButton {
  margin-bottom: 24px;
}

@media screen and (min-width: 768px) {
  .playButton {
    width: 296px;
    margin: 0 auto 78px;
  }
}

.container {
  justify-content: center;
}

.startScreen {
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  height: 100%;

  h3 :global(.line) {
    color: $gray;

    @media screen and (min-width: 768px) {
      color: $dark_grey;
    }
  }

  & > div {
    flex: 1;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
  }

  @media screen and (min-width: 768px) {
    & > div {
      flex: unset;
      margin: 0 auto 56px;
      br {
        display: none;
      }
    }
  }

  h2 {
    color: $black;
    font-weight: 500;
    font-size: 30px;
    line-height: 38px;
    letter-spacing: -0.05em;
    text-align: center;
    margin-bottom: 24px;

    @media screen and (min-width: 768px) {
      font-size: 48px;
      line-height: 64px;
      margin-bottom: 40px;
    }
  }

  h3 {
    color: $dark_grey;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: -0.05em;
    text-align: center;

    @media screen and (min-width: 768px) {
      span {
        display: block;
        font-size: 24px;
        line-height: 1.5; // 36px
      }
    }
  }
}
